<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script type="text/javascript">
    var date=new Date();
    var day=date.getDay();
    switch(day){
        case 0:
        document.write("<div>星期日</div>");
        break;
        case 1:
        document.write("<div>星期一</div>");
        break;
        case 2:
        document.write("<div>星期二</div>");
        break;
        case 3:
        document.write("<div>星期三</div>");
        break;
        case 4:
        document.write("<div>星期四</div>");
        break;
        case 5:
        document.write("<div>星期五</div>");
        break;
        case 6:
        document.write("<div>星期六</div>");
        break;
    }
    </script>
</head>
<body>
    
</body>
</html>